package com.lanp.gencode;

import com.lanp.gencode.fileInfo.FileInfo;

import java.lang.reflect.Field;

public class ToDtoMain {
    static String ProjectUrl = "E:\\code\\sigo_code\\sigo.product\\service.application\\sigo-product-management\\src\\main\\java";
    static String packageurl = "";
    static String beanfile = "cn.sigo.product.base.model.pojo.TBrandDict";
    static String abfile = "cn.sigo.product.base.model.dto.PageInfoInDto";


    public static void main(String[] args) throws ClassNotFoundException {
        Class<?> beanClass = Class.forName(beanfile);
        Field[] beanFields = beanClass.getDeclaredFields();
        FileInfo toFileInfo = new FileInfo();
        for (Field beanField : beanFields) {
            String fieldName = beanField.getName();
            String fieldType = beanField.getType().getName();
        }
    }
}
